package me.zk.practice1.s;

/**
 * @author zhangkai
 * @date 2023/7/18 17:06
 */
public class LS_Offer_65 {
    public static int add(int a, int b) {

        while (b != 0) {
            int c = (a & b) << 1;
            a ^=b;
            b = c;

        }
        return a;
    }

    public static void main(String[] args) {
        System.out.println();
    }
}
